package com.eric.service;
import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.SysRoleDto;
import com.eric.domain.po.SysRole;
import com.github.yulichang.base.MPJBaseService;
import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author 新哥
 * @since 2024-03-12
 */
public interface ISysRoleService extends MPJBaseService<SysRole> {

    SaResult saveRoleListService(List<SysRoleDto> roleDtoList);

    SaResult getAllRolesService(Integer current,Integer pageSize);

    SaResult deleteRolesService(List<Integer> ids);

    SaResult modifyRolesService(List<SysRoleDto> roleDtos);

    SaResult getOneByIdService(Integer id);
}
